Skip to main content
Version: DAI 7.3

About Execution Environments and Agents

An execution environment comprises:

  • A DAI Design Agent or DAI Run Agent in Eggplant DAI
  • An instance of Eggplant Functional
  • A system under test (SUT).

The execution environment lets you connect a model in the Eggplant DAI web application to a suite in Eggplant Functional, and execute specific SenseTalk code snippets against a SUT.

note

You can access the Eggplant DAI server from any connected machine on your network with a supported browser.

What are the DAI Design Agent and DAI Run Agent?

In an execution environment, the agent makes the connection between Eggplant DAI and Eggplant Functional.

Within the DAI Design Agent, we offer the possibility of managing your suites within our internal storage. You can also set up a Git connection to manage your suites. The Design Agent provides suite management support only within the internal storage. Please see the Git integration docs for more information on how to manage suites coming from your Git repositories. The DAI Design Agent can only run Live Run tests.

The DAI Run Agent is a lightweight command-line application (no user interface) used solely to run tests without needing the other features that the DAI Design Agent offers such as managing suites. The DAI Run Agent can only run Runner tests.

With the DAI Design Agent or DAI Run Agent software running, and the execution environment connection active, you can run either Script-based tests or Model-based tests:

  • For Script-based tests, you can create a list of test steps by adding script-based test cases associated to the suite which you uploaded. Read more here
  • For Model-based tests, you can attach SenseTalk snippets to actions and states in any associated Eggplant DAI model. When you run the model, it executes the SenseTalk snippets against the connected SUT. The test results can then be viewed in the console in the Model workspace.

You can set up and switch between execution environments in Eggplant DAI to run different sets of tests.

The agent can run on the same machine as the Eggplant DAI server, or any local or hosted machine that can connect to the Eggplant DAI server via the network. To learn how to set up an agent in an execution environment, go to Configure an Execution Environment.

Important

For SenseTalk snippets/scripts to execute, Eggplant Functional must be installed on the same machine as the DAI Design Agent or DAI Run Agent software.

New Feature

In Eggplant DAI 6.0 and later, the agents use a secure access key to authenticate with Eggplant's identity and access management system.

note

For DAI Eggplant Cloud (Hosted DAI) users, the agent, and Fusion Engine are already included and so are the Cloud SUTs. Contact your account manager or ep-sales@keysight.com to request for DAI Eggplant Cloud.